<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport"
        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="__CSS__/ex/common.css">
    <link rel="stylesheet" href="__CSS__/ex/login.css">
    <title>WESTGOLDB.EXC</title>
    <script src="__JS__/ios-web-app.js"></script>
    <style>
        .index_header{
            border-bottom: 1px solid #EC1C24;
            background: #EC1C24;
        }
        .yy{
            background: #F1F3F4;
        }
    </style>
</head>

<body style="padding-top: 38px">
<!--    <header class="index_header">-->
<!--        &nbsp;-->
<!--    </header>-->
    <section class="yy" style="padding-bottom: 1rem;">
        <div class="yy_banner" >
            <img src="__IMG__/ex/yy_banner.png" alt="">
        </div>
        <div class="yy_tit">
            <div class="line2"></div>
            <h3>生态应用</h3>
        </div>
        <div class="yy_lists">
            <ul>
                <a id="sign" href="javascript:void (0)">
                <li>
                    <div><img src="__IMG__/ex/choujiang1.png" alt=""></div>
                    <p>签到</p>
                </li>
                </a>

                <if condition="$status eq 1">
                    <a href="{:U('Property/vipsuccess')}">
                        <li>
                            <div><img src="__IMG__/ex/guojiapitchon.png" alt=""></div>
                            <!--<p>异国代购</p>-->
                            <p>VIP用户</p>
                        </li>
                    </a>
                    <else/>
                    <a href="{:U('Property/agent')}">
                        <li>
                            <div><img src="__IMG__/ex/guojiapitchon.png" alt=""></div>
                            <!--<p>异国代购</p>-->
                            <p>申请VIP</p>
                        </li>
                    </a>
                </if>


                <a href="{:U('Discover/shopping_stock')}" >
                    <li>
                        <div><img src="__IMG__/ex/ziyuan.png" alt=""></div>
                        <p>跨境购</p>
                    </li>
                </a>

            </ul>
        </div>
        <!--<div class="yy_tit">-->
            <!--&lt;!&ndash;<div class="line2"></div>&ndash;&gt;-->
            <!--&lt;!&ndash;<h5>工具</h5>&ndash;&gt;-->
        <!--</div>-->
        <div class="yy_lists">
            <ul>
                <a href="" onclick="wu()">
                    <li>
                        <div><img src="__IMG__/ex/youxi.png" alt=""></div>
                        <p>游戏娱乐</p>
                    </li>
                </a>

                <a href="{:U('Discover/stock')}" >
                    <li>
                        <div><img src="__IMG__/ex/daikuan.png" alt=""></div>
                        <p>CES股数</p>
                    </li>
                </a>
                <a href="" onclick="wu()">
                    <li>
                        <div><img src="__IMG__/ex/bieshu.png" alt=""></div>
                        <p>众筹地产</p>
                    </li>
                </a>
                <a href="{:U('Finance/live')}">
                    <li>
                        <div><img src="__IMG__/ex/licai.png" alt=""></div>
                        <p>兑换理财</p>
                    </li>
                </a>
                <a href="" onclick="wu()">
                    <li>
                        <div><img src="__IMG__/ex/lvyoudujia.png" alt=""></div>
                        <p>幸福之旅</p>
                    </li>
                </a>
                <a href="{:U('college')}">
                    <li>
                        <div><img src="__IMG__/ex/xueyuanpeizhi.png" alt=""></div>
                        <p>财商学院</p>
                    </li>
                </a>

            </ul>
        </div>
    </section>
    <footer class="footer">
        <ul>
            <li>
                <a href="{:U('Index/index')}">
                    <div>
                        <img src="__IMG__/ex/zn_17.png" alt="">
                    </div>
                    <p>资产</p>
                </a>
            </li>
            <li>
                <a href="{:U('Hangqing/index')}">
                    <div><img src="__IMG__/ex/zn_19.png" alt=""></div>
                    <p>行情</p>
                </a>
            </li>
            <li>
                <a href="{:U('Discover/index')}">
                    <div><img src="__IMG__/ex/zn_22.png" alt=""></div>
                    <p class="active">应用</p>
                </a>
            </li>
            <li>
                <a href="{:U('User/index')}">
                    <div><img src="__IMG__/ex/zn_24.png" alt=""></div>
                    <p>我的</p>
                </a>
            </li>
        </ul>
    </footer>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
    <script src="/Public/lib/layer/layer.js"></script>
    <script>
        function wu() {
            alert('暂未开放');
        }
        
        $("#sign").click(function () {
            var index;
            $.ajax({
                type:"post",
                dataType:"json",
                data:{},
                url:"{:U('sign')}",
                beforeSend:function(){
                    index =layer.load(0,{
                        shade: [0.4, '#393D49'],
                    });
                },
                success:function (data) {

                    if (data.code==0){
                        layer.msg(data.msg,{time:2000},function () {
                            layer.close(index)
                            window.location.reload()
                        })

                    } else {
                        layer.msg(data.msg,{time:2000},function () {
                            layer.close(index)
                        })
                        return false
                    }
                }
            })
        })
    </script>
</body>

</html>